package com.shr.netease;

import java.util.Scanner;

public class Main4 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in) ;
		int count = sc.nextInt() ;
		int[] array = new int[count] ;
		for(int i = 0;i<count;i++){
			array[i] = sc.nextInt() ;
		}
		int[] arrayB = new int[count] ;
		if(count % 2 == 1)
			arrayB[count / 2] = array[0] ;
		int pos = array.length - 1;
		for(int i = 0;i<count / 2; i++){
			arrayB[i] = array[pos--];
			arrayB[array.length - 1 -i] = array[pos--] ;
		}
		for(int i = 0;i<arrayB.length-1;i++){
			System.out.print(arrayB[i]+" ");
		}
		System.out.println(arrayB[arrayB.length-1]);
		sc.close();
	}
}
